.rated {
  width: 100%;
  height: 205px;
  background-color: #fff;
  padding: 12px 15px;

  .title {
    font-size: 14px;
    color: #333;
    margin: 0 0 12px;
  }

  .wrapper {
    overflow: hidden;
  }

  ul {
    // width: 100%;
    height: 150px;
    // 将这个元素转成有弹性盒效果的行内元素
    display: inline-flex;
    // display: inline;
    // overflow: auto;

    li {
      width: 85px;
      height: 100%;
      margin-right: 10px;
      flex-shrink: 0;

      .img-wrap {
        width: 85px;
        height: 110px;
        position: relative;

        img {
          width: 100%;
          height: 100%;
        }

        .shadow {
          position: absolute;
          width: 100%;
          height: 30px;
          background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.8)
          );
          bottom: 0;
          left: 0;
          color: #faaf00;
          font-size: 10px;
          line-height: 30px;
          font-weight: 900;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }

      .movie-title {
        font-size: 16px;
        font-weight: 900;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-top: 5px;
      }
    }
  }
}